.container {
  width: 100%;
  height: 360px;
  padding: 6px 10px;
  font-size: 16px;

  --poly-from: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  --poly-to: polygon(
    50% 30%,
    100% 0%,
    70% 50%,
    100% 100%,
    50% 70%,
    0% 100%,
    30% 50%,
    0% 0%
  );

  .topText {
    height: 44px;
    overflow: hidden;
  }
  .poly {
    width: 260px;
    height: 260px;
    background-image: repeating-linear-gradient(blue, orange 50px);
    clip-path: var(var(--poly-from));
    animation: poly 3s ease-in-out infinite alternate;
  }
  .leftFloat {
    float: left;
  }
  .rightFloat {
    float: right;
  }
  span {
    word-break: break-all;
  }

  @keyframes poly {
    from {
      clip-path: var(--poly-from);
      shape-outside: var(--poly-from);
    }
    to {
      clip-path: var(--poly-to);
      shape-outside: var(--poly-to);
    }
  }
}
